
#ifndef BezierCurve_h
#define BezierCurve_h

#include "Curve.h"

class BezierCurve : public Curve
{
private:
	Vector2 m_vP0;
	Vector2 m_vP1;
	Vector2 m_vP2;
	Vector2 m_vP3;
	
public:
    BezierCurve(Vector2 _vP0, Vector2 _vP1, Vector2 _vP2, Vector2 _vP3);
	~BezierCurve();

	void setPoints(Vector2 _vP0, Vector2 _vP1, Vector2 _vP2, Vector2 _vP3);

	Vector2 computeV(float t);
};

#endif
